package org.techmore.vo;

import android.os.Parcel;
import android.os.Parcelable;

public class AllCouponSeriesVO implements Parcelable {

	// <coupon couponSeriesNo=”201001010001201001010001”
	// store=”商家名稱” subject=”優惠名稱”
	// img48xUrl=” http://dns/customPath/ customName.jpg” />

	private String couponSeriesNo = null;
	private String store = null;
	private String subject = null;
	private String img48xUrl = null;

	public String getCouponSeriesNo() {
		return couponSeriesNo;
	}

	public void setCouponSeriesNo(String couponSeriesNo) {
		this.couponSeriesNo = couponSeriesNo;
	}

	public String getStore() {
		return store;
	}

	public void setStore(String store) {
		this.store = store;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getImg48xUrl() {
		return img48xUrl;
	}

	public void setImg48xUrl(String img48xUrl) {
		this.img48xUrl = img48xUrl;
	}

	public static final Parcelable.Creator<AllCouponSeriesVO> CREATOR = new Creator<AllCouponSeriesVO>() {
		public AllCouponSeriesVO createFromParcel(Parcel source) {
			AllCouponSeriesVO mBook = new AllCouponSeriesVO();
			mBook.couponSeriesNo = source.readString();
			mBook.store = source.readString();
			mBook.subject = source.readString();
			mBook.img48xUrl = source.readString();
			return mBook;
		}

		public AllCouponSeriesVO[] newArray(int size) {
			return new AllCouponSeriesVO[size];
		}
	};

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel parcel, int flags) {
		parcel.writeString(couponSeriesNo);
		parcel.writeString(store);
		parcel.writeString(subject);
		parcel.writeString(img48xUrl);
	}
}
